package com.uenpay.util.app;

/**
 * Created by liulou on 2017/4/13.
 * desc:
 */

public class VersionInfo {
    private final String appName; //应用名称
    private final boolean isCheckVersion; //是否进行版本检测
    private final int versionCode;
    private final String versionName;
    private final String checkVersionName; //检测版本渠道名称

    public VersionInfo(String appName, boolean isCheckVersion, int versionCode, String versionName, String checkVersionName) {
        this.appName = appName;
        this.isCheckVersion = isCheckVersion;
        this.versionCode = versionCode;
        this.versionName = versionName;
        this.checkVersionName = checkVersionName;
    }

    public String getAppName() {
        return appName;
    }

    public boolean isCheckVersion() {
        return isCheckVersion;
    }

    public int getVersionCode() {
        return versionCode;
    }

    public String getVersionName() {
        return versionName;
    }

    public String getCheckVersionName() {
        return checkVersionName;
    }
}
